<?php

$cfgMainMenu['title']					= 'Modultitel';

$cfgMainMenu['left'][0]['title']			= 'Modulbereichstitel auf linker Seite';
$cfgMainMenu['left'][0]['img']	   			= '/pfad-relativ-zu-/mod/mod_xxx/lib/img/menu/';
$cfgMainMenu['left'][0]['sub'][0]['title']		= 'Titel des Menupunktes';
$cfgMainMenu['left'][0]['sub'][0]['target']		= '/pfad-relative-zu-/mod/mod_xxx/frontend/';

$cfgMainMenu['right'][0]['title']			= 'Modulbereichstitel auf rechter Seite';
$cfgMainMenu['right'][0]['img']	   			= '/pfad-relativ-zu-/mod/mod_xxx/lib/img/menu/';
$cfgMainMenu['right'][0]['sub'][0]['title']		= 'Titel des Menupunktes';
$cfgMainMenu['right'][0]['sub'][0]['target']		= '/pfad-relative-zu-/mod/mod_xxx/frontend/';


$sides = array('left','right');
foreach ($sides As $side)
{
    for ($i=0;$i<count($cfgMainMenu[$side]);$i++)
    {
        for ($j=0;$j<count($cfgMainMenu[$side][$i]['sub']);$j++)
        {
            $cfgMainMenu['bytarget'][$cfgMainMenu[$side][$i]['sub'][$j]['target']] = &$cfgMainMenu[$side][$i]['sub'][$j]['title'];
        }
    }
}
unset($sides);    
?>